package Chain_of_Responsibility_Pattern;

public class GeneralManager extends abstractHandler{
    public GeneralManager() {
        super(0,abstractHandler.NUM_SEVEN);
    }
    @Override
    protected void handLeaveResponse(LeaveResponse leaveResponse) {
        System.out.println(leaveResponse.getName() + "请假" + leaveResponse.getNum() + "天" + "请假原因为" + leaveResponse.getContent());
        System.out.println("总经历同意审批");
    }
}
